package cn.edu.scau.service;

import cn.edu.scau.entity.Medicationrecord;
import cn.edu.scau.entity.MedicationrecordShow;

import java.util.List;

public interface MedicationrecordService {

    List<MedicationrecordShow> selectAll();

    List<MedicationrecordShow> findByMIdCId(Integer medicationRecordID,Integer customerID);

    Medicationrecord selectByPrimaryKey(Integer medicationrecordid);

    boolean deleteByPrimaryKey(Integer medicationrecordid);

    boolean insert(Medicationrecord record);

    boolean updateByPrimaryKeySelective(Medicationrecord record);
}
